package com.maweirdos.maicode.controller;

import com.maweirdos.maicode.common.BaseResponse;
import com.maweirdos.maicode.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author:  Maweirdos
 * Date:  2025/8/18 21:06
 * Description:  健康检查
 */
@RestController
@RequestMapping("/health")
public class HeathController {

    @GetMapping("/")
    public BaseResponse<String> health() {
        return ResultUtils.success("ok");
    }
}
